package org.example.learningplanassistant.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.example.learningplanassistant.dto.LoginFormDTO;
import org.example.learningplanassistant.dto.RegisterFormDTO;
import org.example.learningplanassistant.dto.Result;
import org.example.learningplanassistant.pojo.User;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author gcbsh
 * @since 2025-03-24
 */
public interface IUserService extends IService<User> {

    Result login(LoginFormDTO loginForm);

    Result register(RegisterFormDTO registerForm);

    Result sendCode(String phone);
}